<template class="backColor">
    <div>
        <CoachList v-if="coachData.title" :coachData="coachData"/>
    </div>
    
</template>
<script>
import CoachList from "../subpageList/CoachList"
export default {
    name:"Coach",
    data(){
        return{
            coachData:{}
        }
    },
    components:{
       CoachList
    },
    methods:{
      
    },
    mounted(){
        this.$api.coach.fitnesscoach(null)
        .then(res=>{
            // console.log(res.data)
            this.coachData=res.data
        })
        .catch(error=>{
            console.log(error)
        })
    }
}
</script>
<style scoped>
.coach{
    background-color: #efefef;
}

</style>

